package com.designmodel.created.singleton;

/**
 * jvm保证了每个枚举实例变量的唯一性
 *
 * @author think
 * @version 1.0.0
 */
public enum SingletonEnum {

    /**
     * 单利对象
     */
    SINGLETON_ENUM;

    private String name;

    SingletonEnum() {
    }

    SingletonEnum(String name) {
        this.name = name;
    }
}
